from config import HOST


class ApiTender:
    def __init__(self, session):
        self.session = session
        self.__url_tender = HOST+"/trust/trust/tender"

    def api_tender(self, amount):
        data = {
            'id': 642,
            'depositCertificate': -1,
            'amount': amount
        }
        return self.session.post(url=self.__url_tender, data=data)
